<?php
$js = $__oManager->logout();

$jsdir		= JS_DIR;
$cookie_pre	= COOKIE_PRE;

echo <<<HTML
<script type="text/javascript" language="JavaScript" charset="utf-8" src="{$jsdir}func.js"></script>
<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	var _s = {_cookie_pre:'{$cookie_pre}'};
	set_cookie("manager", "", -1);
	try{
		params = {
			'result'	: 'succ',
			'title'		: 'OK',
			'msg'		: '退出成功',
			'ttl'		: 1000
		};
		top.frames["iBody"].callback_common(params);
		setTimeout(function(){
			top.location = './m.php?mdl=login';
		}, params.ttl);
	}catch(e){
		top.location = './m.php?mdl=login';
	}
-->
</script>
HTML
;
exit;
?>